﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AccountListControl.ascx.cs"
	Inherits="BK.WebSite.Controls.AccountListControl" %>
<%@ Import Namespace="BK.Entities" %>
<%@ Import Namespace="Lib.ApplicationBlocks.Modules.Web.General" %>
<asp:Repeater ID="rptrФссщгтеі" runat="server" EnableTheming="False">
	<HeaderTemplate>
		<table cellpadding="0" cellspacing="0" class="dataList">
			<tr>
				<th>
					Назва
				</th>
				<th>
					Валюта
				</th>
				<th style="white-space: nowrap;">
					Отметить (<label for="checkUncheckAll">все</label>
					<input type="checkbox" id="checkUncheckAll" />)
				</th>
				<th>
				</th>
				<th>
				</th>
			</tr>
			<tr>
				<th>
					<asp:TextBox runat="server" ID="tbName" class="column"></asp:TextBox>
				</th>
				<th>
					<asp:TextBox runat="server" ID="tbCurrency" class="column"></asp:TextBox>
				</th>
				<th>
				</th>
				<th>
					<button type="button" class="editBtn">
						Фильтовать
					</button>
				</th>
				<th>
					<button type="button" class="deleteBtn">
						Сбросить
					</button>
				</th>
			</tr>
	</HeaderTemplate>
	<ItemTemplate>
		<tr>
			<td class="leftCellData">
				<asp:HiddenField ID="hfId" runat="server" Value="<%# ((AccountEntity) Container.DataItem).Id.Value %>" />
				<%# ((AccountItemEntity) Container.DataItem).Name %>
			</td>
			<td>
				<%# ((AccountItemEntity) Container.DataItem).CurrencyName %>
			</td>
			<td class="centerCellData">
				<input type="checkbox" />
			</td>
			<td>
				<asp:Button runat="server" ID="btnEdit" Text="Редактировать" CssClass="editBtn" CommandName="<%# WebConstants.CommandNames.EDIT %>" />
			</td>
			<td>
				<button type="button" class="deleteBtn">
					Удалить
				</button>
			</td>
		</tr>
	</ItemTemplate>
	<FooterTemplate>
		</table>
	</FooterTemplate>
</asp:Repeater>
